﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VoicePhone.Common;

namespace VoicePhone.Utils
{
    public class ShareInfo
    {
        public static SettingConfig SettingConfig { get; set; } = SettingConfig.Load();
        //public static OMSocketHandler SocketHandler { get; set; } = OMSocketHandler.GetSocketHandlerInstance(SettingConfig.AppServer.ServerIP, SettingConfig.AppServer.ServerPort, SettingConfig.AppServer.LocalPort);
        public static NumberThinConfig NumberThinConfig { get; set; } = NumberThinConfig.Load();
        public static CallRecordsConfig CallRecordsConfig { get; set; } = CallRecordsConfig.Load();
        public static CallRollConfig CallRollConfig { get; set; } = CallRollConfig.Load();
        public static CallingRecords CallingRecords { get; set; } = new CallingRecords();
        public static VoiceKeyWordConfig voiceKeyWordConfig { get; set; } = VoiceKeyWordConfig.Load();//语音识别关键字配置文件 Add by lukun
        public static DateTime ServerTime { get; set; }
        //public static FloatingTouchScreenKeyboard TouchScreenKeyboard { get; set; }
        public static void ResetSocketHandler()
        {
            //SocketHandler = OMSocketHandler.GetSocketHandlerInstance(SettingConfig.AppServer.ServerIP, SettingConfig.AppServer.ServerPort, SettingConfig.AppServer.LocalPort);
        }
    }
}
